import tkinter as tk

window = tk.Tk()
window.geometry('400x500')
frm = tk.Frame(window).pack()

left = tk.Frame(frm, height=500, width=200)
right = tk.Frame(frm, height=500, width=200)

left.place(x=0, y=0, anchor='nw')
right.place(x=200, y=0, anchor='nw')

buton1 = tk.Button(left, text='1').place(x=50, y=50, anchor='nw')
buton2 = tk.Button(right, text='2').place(x=50, y=50, anchor='nw')


window.mainloop()
